package Control;

public class DialogSeason implements Visualizable{
	
	private Season season;
	private Integer appearances;
	private Integer dialog;
	
	public DialogSeason() {
		super();
		
	}

	public DialogSeason(Season season, Integer appearances, Integer dialog) {
		super();
		this.season = season;
		this.appearances = appearances;
		this.dialog = dialog;
	}

	public Season getSeason() {
		return season;
	}

	public void setSeason(Season season) {
		this.season = season;
	}

	public Integer getAppearances() {
		return appearances;
	}

	public void setAppearances(Integer appearances) {
		this.appearances = appearances;
	}

	public Integer getDialog() {
		return dialog;
	}

	public void setDialog(Integer dialog) {
		this.dialog = dialog;
	}

	@Override
	public String valueLabel() {
		return "dialog";
	}

	@Override
	public Integer value() {
		return dialog;
	}

	@Override
	public Integer time() {
		return this.season.getNumber();
	}

	@Override
	public String timeLabel() {
		return this.season.getName();
	}

	@Override
	public Integer absoluteTime() {
		return season.getNumber();
	}
	
	
	
}
